﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

namespace UI
{
    public class AutoChessExplainPageHeroBuffItem : MonoBehaviour
    {
        public Text num;
        public Text desc;
        public AutoScrollContent autoScrollText;

        public void InitContent(int needHeroNum, string buffDesc)
        {
            num.text = needHeroNum.ToString();
            desc.text = buffDesc;
            autoScrollText.ResetToBeginning();
        }
    }
}
